package com.tongcheng;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Configuration;

/**
 * ClassName: GoodsApplication
 * Description: Goods启动类
 * Author: lcl
 * Date: 2020/11/26 11:56
 * Version: 1.0
 */
@SpringBootApplication  //服务启动类
@EnableEurekaClient     //服务被发现和注册
@MapperScan("com.tongcheng.mapper")
@Configuration("com.tongcheng.utils.SwaggerConfig")
public class GoodsApplication {
    public static void main(String[] args) {
        SpringApplication.run(GoodsApplication.class);
    }
}
